package com.springcloud.minio.feign;

import com.springcloud.commom.api.R;
import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

@Component
public class MinioClientFallback implements IMinioClient{
    @Override
    public R upload(MultipartFile file) {
        return R.fail("数据错误!");
    }

    @Override
    public R getUrl(String fileName) {
        return R.fail("数据错误!");
    }
}
